package fr.cpe.j2ee.projet.war;

import java.util.ArrayList;
import java.util.List;

public class ActivityListBean 
{
	private List<ActivityBean> activityList;

	public List<ActivityBean> getProjectActivityList(ProjectBean project)
	{
		List<ActivityBean> projectactivitylist = new ArrayList<ActivityBean>();
		
		// Pour test, on sette une liste d'activité avant de pouvor faire l'appel en base de données
		projectactivitylist.add(new ActivityBean(1, 12, 4));
		projectactivitylist.add(new ActivityBean(2, 13, 3));
		projectactivitylist.add(new ActivityBean(3, 14, 2));
		projectactivitylist.add(new ActivityBean(4, 15, 1));
		
		return projectactivitylist;
	}
	
	public List<ActivityBean> getActivityList() {
		return activityList;
	}

	public void setActivityList(List<ActivityBean> activityList) {
		this.activityList = activityList;
	}
}
